PulseCanvas / app · pulsecanvas.ai / Sources / PulseCanvas / Resources / ProjectM / Presets / Geometric / Wire Sphere / suksma - to finally feel like a cyborg.milk
| 1 | MILKDROP_PRESET_VERSION=201 |
| 2 | PSVERSION=2 |
| 3 | PSVERSION_WARP=2 |
| 4 | PSVERSION_COMP=2 |
| 5 | [preset00] |
| 6 | fRating=5.000000 |
| 7 | fGammaAdj=1.500 |
| 8 | fDecay=0.980 |
| 9 | fVideoEchoZoom=2.000 |
| 10 | fVideoEchoAlpha=0.000 |
| 11 | nVideoEchoOrientation=0 |
| 12 | nWaveMode=1 |
| 13 | bAdditiveWaves=0 |
| 14 | bWaveDots=0 |
| 15 | bWaveThick=0 |
| 16 | bModWaveAlphaByVolume=0 |
| 17 | bMaximizeWaveColor=1 |
| 18 | bTexWrap=1 |
| 19 | bDarkenCenter=0 |
| 20 | bRedBlueStereo=0 |
| 21 | bBrighten=0 |
| 22 | bDarken=0 |
| 23 | bSolarize=0 |
| 24 | bInvert=0 |
| 25 | fWaveAlpha=0.001 |
| 26 | fWaveScale=1.000 |
| 27 | fWaveSmoothing=0.750 |
| 28 | fWaveParam=0.000 |
| 29 | fModWaveAlphaStart=0.750 |
| 30 | fModWaveAlphaEnd=0.950 |
| 31 | fWarpAnimSpeed=0.010 |
| 32 | fWarpScale=0.010 |
| 33 | fZoomExponent=1.00000 |
| 34 | fShader=0.000 |
| 35 | zoom=1.00000 |
| 36 | rot=0.00000 |
| 37 | cx=0.500 |
| 38 | cy=0.500 |
| 39 | dx=0.00000 |
| 40 | dy=0.00000 |
| 41 | warp=0.01000 |
| 42 | sx=1.00000 |
| 43 | sy=1.00000 |
| 44 | wave_r=0.000 |
| 45 | wave_g=0.000 |
| 46 | wave_b=0.000 |
| 47 | wave_x=0.500 |
| 48 | wave_y=0.500 |
| 49 | ob_size=0.000 |
| 50 | ob_r=0.110 |
| 51 | ob_g=0.000 |
| 52 | ob_b=0.100 |
| 53 | ob_a=0.000 |
| 54 | ib_size=0.000 |
| 55 | ib_r=0.000 |
| 56 | ib_g=0.000 |
| 57 | ib_b=0.000 |
| 58 | ib_a=0.000 |
| 59 | nMotionVectorsX=64.000 |
| 60 | nMotionVectorsY=48.000 |
| 61 | mv_dx=0.000 |
| 62 | mv_dy=0.000 |
| 63 | mv_l=4.950 |
| 64 | mv_r=0.000 |
| 65 | mv_g=1.000 |
| 66 | mv_b=1.000 |
| 67 | mv_a=0.000 |
| 68 | b1n=0.000 |
| 69 | b2n=0.000 |
| 70 | b3n=0.000 |
| 71 | b1x=1.000 |
| 72 | b2x=1.000 |
| 73 | b3x=1.000 |
| 74 | b1ed=0.250 |
| 75 | wavecode_0_enabled=1 |
| 76 | wavecode_0_samples=512 |
| 77 | wavecode_0_sep=0 |
| 78 | wavecode_0_bSpectrum=1 |
| 79 | wavecode_0_bUseDots=0 |
| 80 | wavecode_0_bDrawThick=1 |
| 81 | wavecode_0_bAdditive=1 |
| 82 | wavecode_0_scaling=1.00000 |
| 83 | wavecode_0_smoothing=0.50000 |
| 84 | wavecode_0_r=1.000 |
| 85 | wavecode_0_g=1.000 |
| 86 | wavecode_0_b=1.000 |
| 87 | wavecode_0_a=0.100 |
| 88 | wave_0_per_point1=vol = bass+mid+treb; |
| 89 | wave_0_per_point2=u = abs(cos(vol+q1*0.1))*3.14159; |
| 90 | wave_0_per_point3=v = abs(cos(-vol+q1*0.015))*3.14159*2; |
| 91 | wave_0_per_point4=s = sample*3.14*100; |
| 92 | wave_0_per_point5=ss = sample*6.28*1000; |
| 93 | wave_0_per_point6= |
| 94 | wave_0_per_point7=//draw |
| 95 | wave_0_per_point8=xs = 0.3*sin(s)*cos(ss); |
| 96 | wave_0_per_point9=ys = 0.3*sin(vol*.3+s)*sin(ss); |
| 97 | wave_0_per_point10=zs = 0.3*cos(s); |
| 98 | wave_0_per_point11= |
| 99 | wave_0_per_point12= |
| 100 | wave_0_per_point13=//rotate x axis |
| 101 | wave_0_per_point14=angle = sin(q1*0.027)*6.28; |
| 102 | wave_0_per_point15=yx = ys*cos(angle) - zs*sin(value1*.2+angle); |
| 103 | wave_0_per_point16=zx = ys*sin(angle) + zs*cos(angle); |
| 104 | wave_0_per_point17=xx = xs; |
| 105 | wave_0_per_point18= |
| 106 | wave_0_per_point19=//rotate y axis |
| 107 | wave_0_per_point20=angle2 = sin(q1*0.03)*6.28; |
| 108 | wave_0_per_point21=xd = xx*cos(angle2) - zx*sin(angle2); |
| 109 | wave_0_per_point22=zd = xx*sin(angle2) + zx*cos(value2+angle2); |
| 110 | wave_0_per_point23=yd = yx; |
| 111 | wave_0_per_point24= |
| 112 | wave_0_per_point25=//rotaye z axis |
| 113 | wave_0_per_point26=angle3 = sin(q1*0.028)*6.28; |
| 114 | wave_0_per_point27=xn = xd*cos(angle3) - yd*sin(angle3); |
| 115 | wave_0_per_point28=yn = xd*sin(-value1*.8+angle3) + yd*cos(angle3); |
| 116 | wave_0_per_point29= |
| 117 | wave_0_per_point30=zd = zd + 2; |
| 118 | wave_0_per_point31= |
| 119 | wave_0_per_point32=x = xn*zd*0.3 + 0.5; |
| 120 | wave_0_per_point33=y = yn*zd*0.3*1.2 + 0.5; |
| 121 | wave_0_per_point34= |
| 122 | wave_0_per_point35= |
| 123 | wave_0_per_point36=r = 0.5 + 0.5*sin(q1*0.2 + x + x) + xn; |
| 124 | wave_0_per_point37=g = 0.5 + 0.5*sin(q1*0.5 + x + y) + yn; |
| 125 | wave_0_per_point38=b = 0.5 + 0.5*sin(q1*0.36 + y + y) + zn; |
| 126 | wavecode_1_enabled=0 |
| 127 | wavecode_1_samples=512 |
| 128 | wavecode_1_sep=0 |
| 129 | wavecode_1_bSpectrum=1 |
| 130 | wavecode_1_bUseDots=1 |
| 131 | wavecode_1_bDrawThick=1 |
| 132 | wavecode_1_bAdditive=1 |
| 133 | wavecode_1_scaling=1.00000 |
| 134 | wavecode_1_smoothing=0.50000 |
| 135 | wavecode_1_r=1.000 |
| 136 | wavecode_1_g=1.000 |
| 137 | wavecode_1_b=1.000 |
| 138 | wavecode_1_a=1.000 |
| 139 | wavecode_2_enabled=0 |
| 140 | wavecode_2_samples=512 |
| 141 | wavecode_2_sep=0 |
| 142 | wavecode_2_bSpectrum=1 |
| 143 | wavecode_2_bUseDots=1 |
| 144 | wavecode_2_bDrawThick=1 |
| 145 | wavecode_2_bAdditive=1 |
| 146 | wavecode_2_scaling=1.00000 |
| 147 | wavecode_2_smoothing=0.50000 |
| 148 | wavecode_2_r=1.000 |
| 149 | wavecode_2_g=1.000 |
| 150 | wavecode_2_b=1.000 |
| 151 | wavecode_2_a=1.000 |
| 152 | wavecode_3_enabled=0 |
| 153 | wavecode_3_samples=512 |
| 154 | wavecode_3_sep=0 |
| 155 | wavecode_3_bSpectrum=1 |
| 156 | wavecode_3_bUseDots=1 |
| 157 | wavecode_3_bDrawThick=1 |
| 158 | wavecode_3_bAdditive=1 |
| 159 | wavecode_3_scaling=1.00000 |
| 160 | wavecode_3_smoothing=0.50000 |
| 161 | wavecode_3_r=1.000 |
| 162 | wavecode_3_g=1.000 |
| 163 | wavecode_3_b=1.000 |
| 164 | wavecode_3_a=1.000 |
| 165 | wave_3_per_point1=//apply zoom burst on beat |
| 166 | wave_3_per_point2=flag = above(q3,2); |
| 167 | wave_3_per_point3=//state zero is ready state |
| 168 | wave_3_per_point4=state = state + flag*equal(state,0); |
| 169 | wave_3_per_point5= |
| 170 | wave_3_per_point6=//upwards flight |
| 171 | wave_3_per_point7=yval = if(equal(state,0),0, yval); |
| 172 | wave_3_per_point8=yval = yval + 0.00004*equal(state,1); |
| 173 | wave_3_per_point9=ymax = if(equal(state,0),int(rand(100))*0.004,ymax); |
| 174 | wave_3_per_point10= |
| 175 | wave_3_per_point11=//hit apogee |
| 176 | wave_3_per_point12=state = if(above(yval,0.5+ymax),2,state); |
| 177 | wave_3_per_point13= |
| 178 | wave_3_per_point14=//reset variable |
| 179 | wave_3_per_point15=yval = if(equal(state,0),0, yval); |
| 180 | wave_3_per_point16=burst = if(equal(state,0),0.001,burst); |
| 181 | wave_3_per_point17=alphax = if(equal(state,0),1,alphax); |
| 182 | wave_3_per_point18=xdriftinc = if(equal(state,0),0,xdriftinc); |
| 183 | wave_3_per_point19= |
| 184 | wave_3_per_point20=burstspeed = if(equal(state,0),int(rand(10)),burstspeed); |
| 185 | wave_3_per_point21=xdrift = if(equal(state,0),int(rand(20)),xdrift); |
| 186 | wave_3_per_point22=//to get the numbers small enough have to use constants |
| 187 | wave_3_per_point23=xdriftinc = xdriftinc |
| 188 | wave_3_per_point24=+ equal(xdrift,0)*equal(state,1)*0.00002 |
| 189 | wave_3_per_point25=+ equal(xdrift,1)*equal(state,1)*0.000018 |
| 190 | wave_3_per_point26=+ equal(xdrift,2)*equal(state,1)*0.000016 |
| 191 | wave_3_per_point27=+ equal(xdrift,3)*equal(state,1)*0.000014 |
| 192 | wave_3_per_point28=+ equal(xdrift,4)*equal(state,1)*0.000012 |
| 193 | wave_3_per_point29=+ equal(xdrift,5)*equal(state,1)*0.00001 |
| 194 | wave_3_per_point30=+ equal(xdrift,6)*equal(state,1)*0.000008 |
| 195 | wave_3_per_point31=+ equal(xdrift,7)*equal(state,1)*0.000006 |
| 196 | wave_3_per_point32=+ equal(xdrift,8)*equal(state,1)*0.000004 |
| 197 | wave_3_per_point33=+ equal(xdrift,9)*equal(state,1)*0.000002 |
| 198 | wave_3_per_point34=+ equal(xdrift,11)*equal(state,1)*-0.000002 |
| 199 | wave_3_per_point35=+ equal(xdrift,12)*equal(state,1)*-0.000004 |
| 200 | wave_3_per_point36=+ equal(xdrift,13)*equal(state,1)*-0.000006 |
| 201 | wave_3_per_point37=+ equal(xdrift,14)*equal(state,1)*-0.000008 |
| 202 | wave_3_per_point38=+ equal(xdrift,15)*equal(state,1)*-0.00001 |
| 203 | wave_3_per_point39=+ equal(xdrift,16)*equal(state,1)*-0.000012 |
| 204 | wave_3_per_point40=+ equal(xdrift,17)*equal(state,1)*-0.000014 |
| 205 | wave_3_per_point41=+ equal(xdrift,18)*equal(state,1)*-0.000016 |
| 206 | wave_3_per_point42=+ equal(xdrift,19)*equal(state,1)*-0.000018; |
| 207 | wave_3_per_point43= |
| 208 | wave_3_per_point44=burst = burst |
| 209 | wave_3_per_point45=+ equal(burstspeed,0)*equal(state,2)*0.000024 |
| 210 | wave_3_per_point46=+ equal(burstspeed,1)*equal(state,2)*0.000022 |
| 211 | wave_3_per_point47=+ equal(burstspeed,2)*equal(state,2)*0.00002 |
| 212 | wave_3_per_point48=+ equal(burstspeed,3)*equal(state,2)*0.000018 |
| 213 | wave_3_per_point49=+ equal(burstspeed,4)*equal(state,2)*0.000016 |
| 214 | wave_3_per_point50=+ equal(burstspeed,5)*equal(state,2)*0.000014 |
| 215 | wave_3_per_point51=+ equal(burstspeed,6)*equal(state,2)*0.000012 |
| 216 | wave_3_per_point52=+ equal(burstspeed,7)*equal(state,2)*0.00001 |
| 217 | wave_3_per_point53=+ equal(burstspeed,8)*equal(state,2)*0.000008 |
| 218 | wave_3_per_point54=+ equal(burstspeed,9)*equal(state,2)*0.000008; |
| 219 | wave_3_per_point55= |
| 220 | wave_3_per_point56=alphax = alphax - 0.00004*equal(state,2); |
| 221 | wave_3_per_point57=state = if(below(alphax,0),0,state); |
| 222 | wave_3_per_point58= |
| 223 | wave_3_per_point59= |
| 224 | wave_3_per_point60=s = sample*3.14*100; |
| 225 | wave_3_per_point61=ss = sample*6.28*1000; |
| 226 | wave_3_per_point62= |
| 227 | wave_3_per_point63=//draw torus |
| 228 | wave_3_per_point64=xs = (burst + 0.0001*cos(s))*cos(ss); |
| 229 | wave_3_per_point65=ys = (burst + 0.0001*cos(s))*sin(ss); |
| 230 | wave_3_per_point66=zs = 0.1*burst*sin(s); |
| 231 | wave_3_per_point67= |
| 232 | wave_3_per_point68= |
| 233 | wave_3_per_point69=//rotate x axis |
| 234 | wave_3_per_point70=angle = sin(-q1*0.035)*6.28; |
| 235 | wave_3_per_point71=yx = ys*cos(angle) - zs*sin(angle); |
| 236 | wave_3_per_point72=zx = ys*sin(angle) + zs*cos(angle); |
| 237 | wave_3_per_point73=xx = xs; |
| 238 | wave_3_per_point74= |
| 239 | wave_3_per_point75=//rotate y axis |
| 240 | wave_3_per_point76=angle2 = sin(-q1*0.03)*6.28; |
| 241 | wave_3_per_point77=xd = xx*cos(angle2) - zx*sin(angle2); |
| 242 | wave_3_per_point78=zd = xx*sin(angle2) + zx*cos(angle2); |
| 243 | wave_3_per_point79=yd = yx; |
| 244 | wave_3_per_point80= |
| 245 | wave_3_per_point81=//rotaye z axis |
| 246 | wave_3_per_point82=angle3 = sin(-q1*0.022)*6.28; |
| 247 | wave_3_per_point83=xn = xd*cos(angle3) - yd*sin(angle3); |
| 248 | wave_3_per_point84=yn = xd*sin(angle3) + yd*cos(angle3); |
| 249 | wave_3_per_point85= |
| 250 | wave_3_per_point86=zd = zd + 2; |
| 251 | wave_3_per_point87= |
| 252 | wave_3_per_point88=x = xn*zd*0.3 + 0.5; |
| 253 | wave_3_per_point89=y = yn*zd*0.3*1.2; |
| 254 | wave_3_per_point90= |
| 255 | wave_3_per_point91= |
| 256 | wave_3_per_point92=x = x + xdriftinc; |
| 257 | wave_3_per_point93=y = y + sin(yval*1.5) - 0.18; |
| 258 | wave_3_per_point94= |
| 259 | wave_3_per_point95= |
| 260 | wave_3_per_point96=r = 0.5 + 0.5*sin(q1*1.3 + x + x); |
| 261 | wave_3_per_point97=g = 0.5 + 0.5*sin(q1*1.1 + x + y); |
| 262 | wave_3_per_point98=b = 0.5 + 0.5*sin(q1*1.66 + y + y); |
| 263 | shapecode_0_enabled=1 |
| 264 | shapecode_0_sides=4 |
| 265 | shapecode_0_additive=0 |
| 266 | shapecode_0_thickOutline=0 |
| 267 | shapecode_0_textured=1 |
| 268 | shapecode_0_num_inst=1 |
| 269 | shapecode_0_x=0.500 |
| 270 | shapecode_0_y=0.500 |
| 271 | shapecode_0_rad=2.66718 |
| 272 | shapecode_0_ang=0.00000 |
| 273 | shapecode_0_tex_ang=0.00000 |
| 274 | shapecode_0_tex_zoom=0.45112 |
| 275 | shapecode_0_r=1.000 |
| 276 | shapecode_0_g=1.000 |
| 277 | shapecode_0_b=0.000 |
| 278 | shapecode_0_a=0.150 |
| 279 | shapecode_0_r2=0.000 |
| 280 | shapecode_0_g2=0.000 |
| 281 | shapecode_0_b2=0.000 |
| 282 | shapecode_0_a2=0.050 |
| 283 | shapecode_0_border_r=1.000 |
| 284 | shapecode_0_border_g=1.000 |
| 285 | shapecode_0_border_b=1.000 |
| 286 | shapecode_0_border_a=0.100 |
| 287 | shape_0_per_frame1=r = 0.1 + 0.5*sin(q1); |
| 288 | shape_0_per_frame2=g = 0.1 + 0.5*sin(q1*0.9878); |
| 289 | shape_0_per_frame3=b = 0.1 + 0.5*sin(q1*0.897); |
| 290 | shapecode_1_enabled=1 |
| 291 | shapecode_1_sides=100 |
| 292 | shapecode_1_additive=0 |
| 293 | shapecode_1_thickOutline=0 |
| 294 | shapecode_1_textured=1 |
| 295 | shapecode_1_num_inst=1 |
| 296 | shapecode_1_x=0.500 |
| 297 | shapecode_1_y=0.500 |
| 298 | shapecode_1_rad=2.38096 |
| 299 | shapecode_1_ang=0.00000 |
| 300 | shapecode_1_tex_ang=0.00000 |
| 301 | shapecode_1_tex_zoom=0.42497 |
| 302 | shapecode_1_r=0.000 |
| 303 | shapecode_1_g=0.000 |
| 304 | shapecode_1_b=1.000 |
| 305 | shapecode_1_a=0.050 |
| 306 | shapecode_1_r2=0.000 |
| 307 | shapecode_1_g2=0.000 |
| 308 | shapecode_1_b2=0.000 |
| 309 | shapecode_1_a2=0.050 |
| 310 | shapecode_1_border_r=1.000 |
| 311 | shapecode_1_border_g=1.000 |
| 312 | shapecode_1_border_b=1.000 |
| 313 | shapecode_1_border_a=1.000 |
| 314 | shape_1_per_frame1=r = 0.1 + 0.5*sin(q1); |
| 315 | shape_1_per_frame2=g = 0.1 + 0.5*sin(q1*0.9878); |
| 316 | shape_1_per_frame3=b = 0.1 + 0.5*sin(q1*0.897); |
| 317 | shapecode_2_enabled=0 |
| 318 | shapecode_2_sides=100 |
| 319 | shapecode_2_additive=0 |
| 320 | shapecode_2_thickOutline=0 |
| 321 | shapecode_2_textured=0 |
| 322 | shapecode_2_num_inst=1 |
| 323 | shapecode_2_x=1.000 |
| 324 | shapecode_2_y=0.500 |
| 325 | shapecode_2_rad=0.10201 |
| 326 | shapecode_2_ang=0.00000 |
| 327 | shapecode_2_tex_ang=0.00000 |
| 328 | shapecode_2_tex_zoom=1.00000 |
| 329 | shapecode_2_r=1.000 |
| 330 | shapecode_2_g=0.000 |
| 331 | shapecode_2_b=0.000 |
| 332 | shapecode_2_a=1.000 |
| 333 | shapecode_2_r2=0.000 |
| 334 | shapecode_2_g2=1.000 |
| 335 | shapecode_2_b2=0.000 |
| 336 | shapecode_2_a2=0.000 |
| 337 | shapecode_2_border_r=1.000 |
| 338 | shapecode_2_border_g=1.000 |
| 339 | shapecode_2_border_b=1.000 |
| 340 | shapecode_2_border_a=0.100 |
| 341 | shape_2_per_frame1=x = 0.5 + 0.02*sin(time); |
| 342 | shape_2_per_frame2=y = 0.5 + 0.02*cos(time); |
| 343 | shape_2_per_frame3= |
| 344 | shape_2_per_frame4=r = 0.1 + 0.5*sin(q1*0.01); |
| 345 | shape_2_per_frame5=g = 0.1 + 0.5*sin(q1*0.09878); |
| 346 | shape_2_per_frame6=b = 0.1 + 0.5*sin(q1*0.0897); |
| 347 | shape_2_per_frame7= |
| 348 | shape_2_per_frame8=r2 = 0.1 + 0.5*sin(q1*0.035); |
| 349 | shape_2_per_frame9=g2 = 0.1 + 0.5*sin(q1*0.09878); |
| 350 | shape_2_per_frame10=b2 = 0.1 + 0.5*sin(q1*0.0897); |
| 351 | shapecode_3_enabled=0 |
| 352 | shapecode_3_sides=100 |
| 353 | shapecode_3_additive=0 |
| 354 | shapecode_3_thickOutline=0 |
| 355 | shapecode_3_textured=0 |
| 356 | shapecode_3_num_inst=1 |
| 357 | shapecode_3_x=0.500 |
| 358 | shapecode_3_y=0.500 |
| 359 | shapecode_3_rad=0.10000 |
| 360 | shapecode_3_ang=0.00000 |
| 361 | shapecode_3_tex_ang=0.00000 |
| 362 | shapecode_3_tex_zoom=1.00000 |
| 363 | shapecode_3_r=1.000 |
| 364 | shapecode_3_g=1.000 |
| 365 | shapecode_3_b=1.000 |
| 366 | shapecode_3_a=1.000 |
| 367 | shapecode_3_r2=1.000 |
| 368 | shapecode_3_g2=0.000 |
| 369 | shapecode_3_b2=1.000 |
| 370 | shapecode_3_a2=1.000 |
| 371 | shapecode_3_border_r=1.000 |
| 372 | shapecode_3_border_g=1.000 |
| 373 | shapecode_3_border_b=1.000 |
| 374 | shapecode_3_border_a=0.100 |
| 375 | shape_3_per_frame1=x = 0.5 + 0.02*sin(time*0.5 + 1.68); |
| 376 | shape_3_per_frame2=y = 0.5 + 0.02*cos(time*0.5 + 1.68); |
| 377 | shape_3_per_frame3= |
| 378 | shape_3_per_frame4= |
| 379 | shape_3_per_frame5=r = 0.1 + 0.5*sin(q1*0.0144); |
| 380 | shape_3_per_frame6=g = 0.1 + 0.5*sin(q1*0.05878); |
| 381 | shape_3_per_frame7=b = 0.1 + 0.5*sin(q1*0.0797); |
| 382 | shape_3_per_frame8= |
| 383 | shape_3_per_frame9=r2 = 0.1 + 0.5*sin(q1*0.065); |
| 384 | shape_3_per_frame10=g2 = 0.1 + 0.5*sin(q1*0.07878); |
| 385 | shape_3_per_frame11=b2 = 0.1 + 0.5*sin(q1*0.0897); |
| 386 | per_frame_init_1=mv_x=64;mv_y=48; |
| 387 | per_frame_init_2=nut=0; |
| 388 | per_frame_init_3=stp=0;stq=0; |
| 389 | per_frame_init_4=rtp=0;rtq=0; |
| 390 | per_frame_init_5=wvr=0; |
| 391 | per_frame_init_6=decay=0; |
| 392 | per_frame_init_7=dcsp=0 |
| 393 | per_frame_init_8= |
| 394 | per_frame_1=decay=.995; |
| 395 | per_frame_2=zoom=-1.01-(bass+mid+treb)*.01; |
| 396 | per_frame_3= |
| 397 | per_frame_4=q1=time+bass; |
| 398 | per_frame_5=q2=time+mid; |
| 399 | per_frame_6=q3=time+treb; |
| 400 | per_frame_7= |
| 401 | per_frame_8= |
| 402 | per_frame_9= |
| 403 | per_frame_10= |
| 404 | per_pixel_1=rot=(rad/100*x)*bass*1.5; |
| 405 | warp_1=`#define MyGet GetPixel //GetBlur1 |
| 406 | warp_2=`shader_body |
| 407 | warp_3=`{ |
| 408 | warp_4=` // GROW EFFECT - bright pixels spread radially outward. |
| 409 | warp_5=` // BE CAREFUL - this can really thrash the texture cache! (SLOW) |
| 410 | warp_6=` float grad_rad = 3; //TWEAK |
| 411 | warp_7=` float str = 2.3; //TWEAK |
| 412 | warp_8=` float3 d = float3(texsize.zw, 0) * grad_rad; |
| 413 | warp_9=` float4 lums = 0; |
| 414 | warp_10=` lums.x = lum( MyGet(uv + texsize.zw*d.xz) ); |
| 415 | warp_11=` lums.y = lum( MyGet(uv - texsize.zw*d.xz) ); |
| 416 | warp_12=` lums.z = lum( MyGet(uv + texsize.zw*d.zy) ); |
| 417 | warp_13=` lums.w = lum( MyGet(uv - texsize.zw*d.zy) ); |
| 418 | warp_14=` float2 grad = float2(lums.x-lums.y, lums.z-lums.w)*str*1000/grad_rad; |
| 419 | warp_15=` grad = (saturate(grad*0.5+0.5)*2-1)*1.4; |
| 420 | warp_16=` // sample previous frame |
| 421 | warp_17=` ret = tex2D( sampler_fc_main, uv + grad*texsize.zw ).xyz; |
| 422 | warp_18=` |
| 423 | warp_19=` // darken (decay) over time |
| 424 | warp_20=` ret *= 0.965; //or try: ret -= 0.004; |
| 425 | warp_21=`} |
| 426 | comp_1=`sampler sampler_grad = sampler_state { |
| 427 | comp_2=` AddressU = WRAP; |
| 428 | comp_3=` AddressV = WRAP; |
| 429 | comp_4=`}; |
| 430 | comp_5=` |
| 431 | comp_6=`sampler sampler_grad2 = sampler_state { |
| 432 | comp_7=` AddressU = WRAP; |
| 433 | comp_8=` AddressV = WRAP; |
| 434 | comp_9=`}; |
| 435 | comp_10=` |
| 436 | comp_11=` |
| 437 | comp_12=`shader_body |
| 438 | comp_13=`{ |
| 439 | comp_14=` float2x2 rot = { cos(-q2) - 0.01, sin(-q2), |
| 440 | comp_15=` -sin(-q2), cos(-q2) - 0.01 |
| 441 | comp_16=` }; |
| 442 | comp_17=` |
| 443 | comp_18=` float final_noise = 0; |
| 444 | comp_19=` |
| 445 | comp_20=` ret = tex2D(sampler_grad, mul(uv-0.5,rot) + 0.5); |
| 446 | comp_21=` ret += tex2D(sampler_grad2, mul(uv-0.5,rot) + 0.5); |
| 447 | comp_22=` |
| 448 | comp_23=` float2 uv_echo = (uv - 0.5)*1.000*float2(-1,-1) + 0.5; |
| 449 | comp_24=` float3 output = tex2D(sampler_main, uv).xyz; |
| 450 | comp_25=` float3 blur = tex2D(sampler_main, GetBlur1(uv)).xyz; |
| 451 | comp_26=` |
| 452 | comp_27=` ret *= cross(blur,output); |
| 453 | comp_28=` ret = pow(ret,1.1); |
| 454 | comp_29=` ret *= (bass+mid+treb)*100.00; //gamma |
| 455 | comp_30=` |
| 456 | comp_31=`} |